package com.ruoyi.official.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 接待管理对象 receive
 * 
 * @author ruoyi
 * @date 2023-03-06
 */
public class Receive extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 部门名称 */
    @Excel(name = "部门名称")
    private String depName;

    /** 员工名称 */
    @Excel(name = "员工名称")
    private String empName;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    /** 编号 */
    private Integer id;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private Integer depId;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Integer empId;

    /** 来访人员 */
    @Excel(name = "来访人员")
    private String workPeople;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer audit;

    /** 到访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到访时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visitTime;

    /** 版本号 */
    private Integer version;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setDepId(Integer depId) 
    {
        this.depId = depId;
    }

    public Integer getDepId() 
    {
        return depId;
    }
    public void setEmpId(Integer empId) 
    {
        this.empId = empId;
    }

    public Integer getEmpId() 
    {
        return empId;
    }

    public String getWorkPeople() {
        return workPeople;
    }

    public void setWorkPeople(String workPeople) {
        this.workPeople = workPeople;
    }

    public Integer getAudit() {
        return audit;
    }

    public void setAudit(Integer audit) {
        this.audit = audit;
    }

    public void setVisitTime(Date visitTime)
    {
        this.visitTime = visitTime;
    }

    public Date getVisitTime() 
    {
        return visitTime;
    }
    public void setVersion(Integer version) 
    {
        this.version = version;
    }

    public Integer getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return "Receive{" +
                "depName='" + depName + '\'' +
                ", empName='" + empName + '\'' +
                ", id=" + id +
                ", email='" + email + '\'' +
                ", depId=" + depId +
                ", empId=" + empId +
                ", workPeople='" + workPeople + '\'' +
                ", audit=" + audit +
                ", visitTime=" + visitTime +
                ", version=" + version +
                '}';
    }
}
